package com.jf.identity.entity;

import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 违纪上报信息
 *
 * @author FCG
 */
public class FoulFeedBackInfo extends FoulCodeDetail {
    private static final long serialVersionUID = 4973789252045737655L;
    /**
     * 生成违纪上报uuid
     */
    private String uid;
    /**
     * 违纪代码库id
     */
    private String foulCodeId;
    /**
     * 考生号 最大50字符
     */
    @NotBlank(message = "考生号 不能为空")
    @Size(max = 50, message = "考生号 最大50字符")
    private String examineeNo;
    /**
     * 上报人员姓名 最大50字符
     */
//    @NotBlank(message = "上报人员姓名 不能为空")
    @Size(max = 50, message = "上报人员姓名 最大50字符")
    private String examinerName;
    /**
     * 上报人员身份证号 最大18字符
     */
//    @NotBlank(message = "上报人员身份证号 不能为空")
    @Size(max = 18, message = "上报人员身份证号 最大18字符")
    private String examinerIdCardNo;
    /**
     * 上报来源：1视频监考  2考场终端
     */
    @NotBlank(message = "上报来源 不能为空")
    @Range(min = 1, max = 2, message = "上报来源：1视频监考  2考场终端")
    private String source;
    /**
     * 备注 最大200字符
     */
    @Size(max = 200, message = "备注 最大200字符")
    private String remark;
    /**
     * 图片 list
     */
    private List<Photo> photo;
    /**
     * 图片 存储路径 以";"分隔
     */
    private String imageUrls;

    private Boolean foulStatus;
    /**
     * 上报时间
     */
    private Date dateTime;
    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getFoulCodeId() {
        return foulCodeId;
    }

    public void setFoulCodeId(String foulCodeId) {
        this.foulCodeId = foulCodeId;
    }

    public String getExamineeNo() {
        return examineeNo;
    }

    public void setExamineeNo(String examineeNo) {
        this.examineeNo = examineeNo;
    }

    public String getExaminerName() {
        return examinerName;
    }

    public void setExaminerName(String examinerName) {
        this.examinerName = examinerName;
    }

    public String getExaminerIdCardNo() {
        return examinerIdCardNo;
    }

    public void setExaminerIdCardNo(String examinerIdCardNo) {
        this.examinerIdCardNo = examinerIdCardNo;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getFoulStatus() {
        return foulStatus;
    }

    public void setFoulStatus(Boolean foulStatus) {
        this.foulStatus = foulStatus;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public List<Photo> getPhoto() {
        return photo;
    }

    public void setPhoto(List<Photo> photo) {
        this.photo = photo;
    }

    public String getImageUrls() {
        return imageUrls;
    }

    public void setImageUrls(String imageUrls) {
        this.imageUrls = imageUrls;
    }
}
